package cn.kgc.service;

import cn.kgc.dto.UsersDto;
import cn.kgc.pojo.Users;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.UnsupportedEncodingException;
import java.util.Map;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author qf
 * @since 2022-03-03
 */
public interface UsersService extends IService<Users> {


    UsersDto loginByWechat(String access_token, String openid) throws UnsupportedEncodingException;

    Map<String, Object> getInfo(String token);


    String loginSms(String phone, String sms);
}
